<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
		name: 'App',
		data() {
			return {

			}
		},
		methods: {
			bodyScale() {
				var devicewidth = document.documentElement.clientWidth; //获取当前分辨率下的可视区域宽度
				var scale = devicewidth / 1920; // 除以设计稿的尺寸
				document.body.style.zoom = scale; // 放大缩小相应倍数
			}
		},
		created() {
			this.bodyScale()
		}
	}
</script>

<style>
	@import url('./assets/css/common.css');
	
   * {
     padding: 0;
     margin: 0;
   }
   
   html,
   body {
     margin: 0;
     padding: 0;
     height: 100%;
   	
   }
   
   a {
     text-decoration: none;
   }
    
   .router-link-active {
     text-decoration: none;
   }
   
   .el-table__cell .cell{

	  text-align: center;
   }
</style>
